package com.mzj.saas.mservice.smartlock.vo.tianwanghulian;

import java.util.Date;

/**
 * 天网互联推送内容
 */
public class TwhlDataVo {

    /**
     * 通用字段
     */
    private String deviceNum; //设备编号

    /**
     * 心跳日志字段
     */
    private Integer battery; //电池电量

    private Integer signalStrength; //信号强度

    private Integer dataType; //0:心跳上报 1：门磁状态变化

    /**
     * 告警日志字段
     */
    private Integer alarmType; //1：撞击报警 2：低电量 3：撬锁报警 5：长时间未关 6：蓝牙cookie错误 8：非法开门报警 9：密码错误自锁报警

    /**
     * 开锁日志字段
     */

    private Integer unlockType; //开锁类型:1：永久密码 2：指纹 3：临时密码 4：远程开锁 5：蓝牙开锁 6：cookie开锁 7：门卡开锁 8- 撤防/布防 10：机械钥匙开门 11：反锁 12 - 门内开锁 13:装修密码 14:装修密码开锁失败 15:离线开锁

    private String identification; //密码标识

    private Integer recordType; //反锁(1:关闭反锁 2:打开反锁) 门内开锁(1:门内开门 2:弹出方舌) 其它开锁类型这个字段无效

    private String unlockTime; //记录时间

    private String batteryInfo; //电池电量

    private String status; //开锁状态 0-成功 -1 失败（撤防/布防时 0：撤防 1：布防）

    public String getUnlockTime() {
        return unlockTime;
    }

    public void setUnlockTime(String unlockTime) {
        this.unlockTime = unlockTime;
    }

    public String getDeviceNum() {
        return deviceNum;
    }

    public void setDeviceNum(String deviceNum) {
        this.deviceNum = deviceNum;
    }

    public Integer getBattery() {
        return battery;
    }

    public void setBattery(Integer battery) {
        this.battery = battery;
    }

    public Integer getSignalStrength() {
        return signalStrength;
    }

    public void setSignalStrength(Integer signalStrength) {
        this.signalStrength = signalStrength;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public Integer getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(Integer alarmType) {
        this.alarmType = alarmType;
    }

    public Integer getUnlockType() {
        return unlockType;
    }

    public void setUnlockType(Integer unlockType) {
        this.unlockType = unlockType;
    }

    public String getIdentification() {
        return identification;
    }

    public void setIdentification(String identification) {
        this.identification = identification;
    }

    public Integer getRecordType() {
        return recordType;
    }

    public void setRecordType(Integer recordType) {
        this.recordType = recordType;
    }


    public String getBatteryInfo() {
        return batteryInfo;
    }

    public void setBatteryInfo(String batteryInfo) {
        this.batteryInfo = batteryInfo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
